<div class="article" id="condition">
    <h2>Compare data</h2>
    <div class="clr"></div>
	<form name="frmhome" id="frmhome" method="post" action="<?php echo base_url(); ?>">
	    <?php
            $date = new DateTime();
            $date = $date->format('d-M-Y');
        ?>
        <p class="message"></p>
        <p>
            <label>Choose date :</label><br />
            <input class="text" autocomplete="off" placeholder="from date" type="text" name="txtstartdate" id="startdate" value="01-Feb-2005" />
            <input class="text" autocomplete="off" placeholder="end date" type="text" name="txtenddate" id="enddate" value="<?php echo $date; ?>" />
            <input type="hidden" name="getresult" value="1" />
        </p>
        <p>
            <label>Choose banks :</label><br />
            <select id="cbxcmpa" name="cbxcmpa" class="select">
                <option value="-1">-</option>
            <?php foreach($arrSymbol as $item) { ?>
                <option value="<?php echo $item->getId(); ?>"><?php echo html_escape($item->getUrlVal()); ?></option>
            <?php } ?>
            </select>
            
            <select id="cbxcmpb" name="cbxcmpb" class="select">
                <option value="-1">-</option>
            <?php foreach($arrSymbol as $item) { ?>
                <option value="<?php echo $item->getId(); ?>"><?php echo html_escape($item->getUrlVal()); ?></option>
            <?php } ?>
            </select>
            <button id="btncompare" type="button" class="button orange" onclick="getCompareData('<?php echo base_url(array('home','getcomparedata')); ?>');">View result</button>
        </p>
	</form>
</div>
<div class="article">
	<p id="table-title" class="bluegrad" style="color:#fff;text-align:center;text-transform:uppercase;letter-spacing:0.17em;margin-bottom:0px;padding:5px;display:none"></p>
	<div id='table-compare'></div>
</div>